<?php
namespace app\admin\model;

use think\Db;
use think\Model;

class Staff extends Model
{
    protected $name = 'staff';


    public function getInfo($id){
        $info = Db::name($this->name)->find($id);
        return $info;
    }
}